/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package administracion.BeanBinding;
import java.util.ArrayList;
import java.util.List;
import suministros.ejb30.TO.ZonaTO;

/**
 *
 * @author Renato
 */
public class CboBeanBindingZona extends ZonaTO{
    private List<ZonaTO> lista;

    public CboBeanBindingZona(){
        lista = new ArrayList(1);
    }

    @Override
    public String toString(){
        String toString = null;
        toString = this.getNom_zona();
        return toString;
    }

    public List<ZonaTO> getLista() {
        return lista;
    }

    public void setLista(List<ZonaTO> lista) {
        this.lista.clear();
        this.lista.addAll(lista);
    }

}
